]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Remove unneeded check if primary monitor exists
authorverdre <verdre@v0yd.nl>
Tue, 29 Jan 2019 23:17:20 +0000 (00:17 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 30 Jan 2019 00:33:46 +0000 (00:33 +0000)
This check is no longer needed because we're using the stage size
instead of the monitor size here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/374

js/ui/overview.js

index 602e190a7ff08c676941409f058ce0536d430086..ae60e1a240eb36e979b97a69b910c607a1beb2c1 100644 (file)
@@ -387,9 +387,6 @@ var Overview = class {
         // when it is next shown.
         this.hide();
 
-        if (!Main.layoutManager.primaryMonitor)
-            return;
-
         this._coverPane.set_position(0, 0);
         this._coverPane.set_size(global.screen_width, global.screen_height);